#include"HttpServer.hpp"
void Usage(std::string proc)
{
    std::cout<<proc<<" serverport"<<std::endl;
}
int main(int argc,char* args[])
{
    if(argc!=2)
    {
        Usage(args[0]);
        exit(1);
    }
    uint16_t port=std::stoi(args[1]);
    HttpServer*ts=new HttpServer(port);
    ts->Start();
    return 0;
}